﻿#include <errno.h>
#include <locale.h>

#include "pathlib.h"
#include "libstring.h"

using namespace std;


int main(int argc, char* argv[])
{
#ifdef _DEBUG
	printf_s("Debug model\n");
	const char* input_path = "..\\test\\test.txt";
#else
	printf_s("Release model\n");
	const char* input_path = argv[1];
#endif

    pathlib pathFunc;

    string test_folder = pathFunc.Path(input_path);
	//cout << test_folder << endl;

	const char* src = "..\\test\\new";
	pathFunc.deleteFile("..\\test\\new");
	
	
	//if (pathFunc.isEmptyFolder("..\\test\\new", false) == false)
	//	printf("yes");
	//else
	//	printf("no");

	//string aa = Strip(test_folder.c_str(), 'k');
	//cout << aa << endl;

    return 0;

}
